Database Design and Programming

Standard
0000-01 Students will acquire database skills to manage data
· Define database and database management systems
· Describe the evolution of the database and give examples of its role in the business world
· Describe the database development process

Standard

0000-02 Students will construct ER Models using the basic components
· Distinguish between a conceptual model and the physical implementation
· List reasons for building a conceptual data model
· Identify business data that needs to be stored and create entities, attributes, relationships, key constraints and structural constraints

Standard

0000-03 Students will translate a conceptual data model into a physical database
· Diagram and create database tables using SQL from ER Models.
· Define primary keys, foreign keys, unique keys, columns, rows in a table.
· Identify violations of data-integrity rules
· Use correct datatypes for fields

Standard

0000-04 Students will construct simple queries
· Use the correct syntax to select specific columns in a table
· Modify the way data is displayed – concatenation, order by, group
· Perform calculations using arithmetic expressions and operators
· Apply the syntax to restrict the rows returned from a query
· Explain the use of comparison conditions and NULL
· Evaluate logical comparisons to restrict the rows returned based on two or more conditions

Standard

0000-05 Students will construct queries involving more than one table
· Use correct syntax to retrieve data by joining two tables
· Use correct syntax to retrieve data through subqueries

Standard
0000-06 Students will construct queries to modify data within the table
· Use correct syntax to Insert, Update, and Delete data

Standard
0000-07Students will construct queries using functions
Use correct syntax to average, count, and sum
Aggregate functions using group by and having






A few things that should also be taught:
· Calculated fields, aggregate functions (sum, count)
· Set operations: union, intersect, difference (or minus)
· Database normalization
· Column Indexing
· Sequences (autonumbers or identities)

Things that are nice to know:
· Outer joins vs inner joins
· Views
· * Stored Procedures